<span style='margin-top:10px;display:block;'>
<div class="classTinTuc">
    <?php foreach($result as $item){ ?>
        <div class='classMainTinTuc'>
            <img src="<?=base_url('upload/tin/'.$item->hinh)?>" width='140px' height='100px'/><div class='spanNoiDungTinTuc'><a href="<?=base_url('tintuc/chitiettin/'.$item->tenUrl.'.html')?>"><?=$item->ten?><br /></a>
            <?=$item->tomtat?><span class ='spanChiTiet'>Chi tiết >></span></div>
        </div>
    <?php } ?>
    
</div>